package com.lecture.junit.tdd.example;

import java.util.Date;
import java.util.List;

public interface IAccount {

    public boolean passwordMatches(String password);

    public void setLoggedIn(boolean loggedIn);

    public void setRevoked(boolean revoked);

    public boolean isRevoked();

    public String getUserName();

    public Date getLastLoginDate();

    public void setLastLoginDate(Date date);

    public List<String> getPasswordsHistory();

    public void storePassword(String password);

    public Date getLastPasswordChangeDate();

    public void setLastPasswordChangeDate(Date date);

    public void changePassword(String newPassword);
}
